package com.sun.mapper;

import com.sun.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserMapper {
    int insert(User record);

    int insertSelective(@Param("user") User record);

    User findById(@Param("id") String id);

    int insertRelation(Map<String,Object> map);
}